package com.fish.gaiety.gateway.security.service.impl;

import com.fish.gaiety.gateway.security.base.DBEncryptionBase;
import com.fish.gaiety.gateway.security.service.DBDecryption;
import org.springframework.stereotype.Component;

@Component
public class DBDecryptionImpl extends DBEncryptionBase implements DBDecryption {
    @Override
    public String decrypt(String attribute) {
        return attribute.split(PRE_FIX)[1];
    }
}
